5825b742331a2a3b6ebcb9877de6b1cfcece0f43,src/modules/rest/extjs/src/main/java/it/geosolutions/geostore/services/rest/impl/RESTExtJsServiceImpl.java,RESTExtJsServiceImpl,getExtResourcesList,#SecurityContext#number#number#boolean#boolean#SearchFilter#,262

Before Change


        }

        try {
            List<Resource> resources = getResourcesAllowed(resourceService.getResources(filter, page, limit,
                    includeAttributes, includeData, authUser), authUser);

            // Here the Read permission on each resource must be checked due to will be returned the full Resource not just a ShortResource
            // N.B. This is a bad method to check the permissions on each requested resource, it can perform 2 database access for each resource.

After Change


        }

        try {
            List<Resource> resources = resourceService.getResources(filter, page, limit,
                    includeAttributes, includeData, authUser);

            // Here the Read permission on each resource must be checked due to will be returned the full Resource not just a ShortResource
            // N.B. This is a bad method to check the permissions on each requested resource, it can perform 2 database access for each resource.